import loadable from "./../utils/loadable"

const routerConfig = [
    {
        path: '/',
        exact: true,
        component: loadable(() => import('../pages/operate/layout')),
    },
    {
        path: '/report',
        component: loadable(() => import('../pages/report/layout')),
        children: [
            {
                path: '/report/one',
                exact: true,
                component: loadable(() => import('../pages/report/one')),
            },
            {
                path: '/report/two',
                component: loadable(() => import('../pages/report/two')),
            },
        ]

    },
    {
        path: '/user',
        component: loadable(() => import('../pages/user/layout')),
    },
]

export default routerConfig;